home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2002 July
/
07_02.iso
/
software
/
xq-xsetup
/
files
/
setup.exe
/
{app}
/
plugins
/
XQ WinME Scandisk On Boot 1.xpl
< prev
next >
Wrap
Text File
|
2001-11-27
|
1KB
|
38 lines
"FILE"="Xteq Systems X-Setup Plugin 6.0"
"TYPE"="6"
"COUNT"="1"
"UIPATH 1"="Startup/Shutdown\Startup\Windows 9x/ME\30) ScanDisk"
"NAME"="ScanDisk Options (WinMe)"
"VERSION"="1.01"
"OSVERSION"="000010"
"LANGUAGE"="VBScript"
"TEXT 1"="Run Scandisk on boot"
"DESCRIPTION 1"="If Windows detects that your PC has crashed, it starts ScanDisk while booting to correct any HD failures."
"AUTHOR"="Xteq Systems (Neil R. Turner)"
"CONTACTURL"="http://www.xteq.com/"
"COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
"COMMENT 1"="Thanks to John Mulcahy [john_mulcahy@hotmail.com] and TeXHeX [TeXHeX@xteq.com] for the idea!"
' Nothing like a nice easy plug-in, eh?
sP="HKLM\System\CurrentControlSet\Control\FileSystem\DisableScandiskOnBoot" ' DWORD
Sub Plugin_Initialize
s=RegReadValue(sP)
if s=01 then
Call SetUIElement(1, true)
end if
End Sub
Sub Plugin_Apply(ElementIndex,ElementSubIndex)
b=GetUIElement(1)
if b=true then
Call RegWriteValue(sP,01,2)
else
Call RegDeleteValue(sP)
end if
Restart
End Sub
Sub Plugin_Terminate
End Sub